package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@TableName("t_gongzuobxhpb")
public class GongzuobxhpbEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String employeeId;
    private String name;
    private String department;
    private String position;


    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date entryDate;

    private String directSupervisor;
    private String personalSummary;
    private String workBottlenecks;
    private String assistanceNeeded;
    private Integer workEfficiency;
    private Integer workQuality;
    private Integer communication;
    private Integer laborDiscipline;
    private Integer teamwork;
    private Integer overallEvaluation;
    private String evaluationResult;
    private String assessor;
    private String departmentSupervisor;
    private String departmentManager;
    private String departmentHead;
    private String generalManager;
    private String hrSupervisor;
    private String enterpriseManagementHead;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    private String createBy;
    private String updateBy;

    @TableLogic
    private Boolean isDeleted;
}